package com.last1mile.model;

import org.directwebremoting.annotations.DataTransferObject;
import org.directwebremoting.annotations.RemoteProperty;
import org.directwebremoting.convert.BeanConverter;

@DataTransferObject(converter = BeanConverter.class)
public class State {

    @RemoteProperty
    private String stateId;
    @RemoteProperty
    private String stateCnName;

    public State(String stateId, String stateCnName) {
        super();
        this.stateId = stateId;
        this.stateCnName = stateCnName;
    }

    @RemoteProperty
    public String getStateId() {
        return stateId;
    }

    public void setStateId(String stateId) {
        this.stateId = stateId;
    }

    @RemoteProperty
    public String getStateCnName() {
        return stateCnName;
    }

    public void setStateCnName(String stateCnName) {
        this.stateCnName = stateCnName;
    }

}
